<?php 
//新闻的标题的遍历
	include_once("./head.php");
	include_once("./commonality.php");
	$sql="select * from news";
	$frt=mysql_query($sql);
	while ($list=mysql_fetch_assoc($frt)) {
	    $new[]=$list;
	}
?>
<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
	<?php foreach ($new as $value){ ?>
	<ul>
		<a href="news.php?nid=<?= $value['nid'] ?>"><li><?=$value['ntitle']?></li></a>
	</ul>
	<?php }?>
</body>
</html>